/*
 * Component.h
 *
 *  Created on: 2011-03-30
 *      Author: jacek
 */

#ifndef COMPONENT_H_
#define COMPONENT_H_
#include "Event.h"
#include "EventTypes.h"

class Component {
protected:
	Component(){}
public:
	bool toDelete;
	Component* parent;
	virtual void Updata(Event event)=0;
	virtual void Intialization()=0;
	virtual void Dispose()=0;
	virtual void SendEvent(Event event)=0;
	virtual ~Component(){}
};

#endif /* COMPONENT_H_ */
